import { createApp } from 'vue'
import App from './App.vue'

// 引入Css
import './style/index.scss'

// 引入路由
import router from './router'

// 引入store
import { setupStore } from './store'


// 引入ElementPlus
import ElementPlus from 'element-plus'
import 'element-plus/theme-chalk/el-loading.css'
import 'element-plus/theme-chalk/el-message.css'
import 'element-plus/dist/index.css'

const app = createApp(App)

setupStore(app) // 初始化store

app.use(ElementPlus).use(router).mount('#app')
